package com.example.renshiguanli.mapper;

import com.example.renshiguanli.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeptMapper {
//    查询所有部门信息
    @Select("select * from dept")
    List<Dept> findAllByDept();
}
